package com.atguigu.ssyx.acl.service;

import com.atguigu.ssyx.model.acl.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 杨林
 * @create 2023-07-07 11:03 星期五
 * description:
 */
public interface PermissionService extends IService<Permission> {
    /**
     * 获取菜单
     * @return
     */
    List<Permission> getAllMenu();

    /**
     * 递归删除菜单
     * @param id
     */
    void removeChainById(Long id);

}
